﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using DB;
using PerceptiveMCAPI;
using PerceptiveMCAPI.Methods;
using PerceptiveMCAPI.Types;

namespace API
{
    public class EmailTemplateApi
    {
        private static EmailTemplateApi _api;

        private EmailTemplateApi()
        {
        }

        static readonly Dictionary<string,MailChimpApi> DicApis = new Dictionary<string, MailChimpApi>();
        public static EmailTemplateApi GetApi()
        {
            if (_api == null)
            {
                _api = new EmailTemplateApi();
            }
            return _api;
        }

        private string ItemXmlTemplate =
            "<tr align=\"center\"> <td><a href=\"http://www.maibey.com/%%URL%%\"><img width=\"150pt\" src=\"http://mail.maibey.com/Images/Email/%%SKU%%_PIC1.jpg\" /></a></td></tr>";
        public string GetTemplate(string strTitle)
        {
            return "";
        }

    }
    
}
